<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no">
		<link rel="stylesheet" type="text/css" href="__TMPL__/public/user/css/aboutus.css"/>
		<title>{$category.name}</title>
		<meta name="keywords" content="{$category.seo_keywords},{$site_info.site_seo_keywords|default=''}"/>
		<meta name="description" content="{$category.seo_description},{$site_info.site_seo_description|default=''}">
		<link rel="stylesheet" href="//img.cdn.aliyun.dcloud.net.cn/mui/dist/css/mui.min.css">
      <style>
      header .content {
          width: 100%;
          height: 44px;
          box-sizing: border-box;
          display: flex;
          text-align: center;
          background-color: #fff;
          line-height: 44px;
      }
        .content a {
            display: block;
            height: 44px;
            line-height: 44px;
            flex: 1;
            font-size: 20px;
            font-size: 16px;
        }
        .content a:nth-child(2) {
            flex: 1;
            font-size: 18px;
        }
      </style>
	</head>
	<body>
		<header> 
          <taglib name="app\portal\taglib\Portal"/>
		<div class="content">
			  <a href="javascript:history.back(-1);"></a>
			{$category.name}
            <a href=""></a>  
		</div> 
		</header> 
		<div>
          <php>
                    $where=[
                    'post.create_time'=>['egt',0]
                    ];
                    $page=[
                        'list_rows'=>10,
                        'next'=>'下一页',
                        'prev'=>'上一页'
                    ];
                </php>
			<ul class="mui-table-view">
              <portal:articles item="vo" where="$where" order="post.create_time DESC" page="$page" relation="categories" categoryIds="$category.id" returnVarName="articles_data">
				<li class="mui-table-view-cell">
					<a class="mui-navigate-right"  href="{:cmf_url('portal/Article/index',array('id'=>$vo['id'],'cid'=>$category['id']))}">{$vo.post_title}</a>
				</li>
			   </portal:articles>
			</ul>
		</div> 
	</body>
</html>
